home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 August / chip-cd_2004_08.zip / 08 / Multimedia / Zoom Player Standard 4.00 / zp400std.exe / MediaGraph / example_mpeg2_using_elecard.mediagraph < prev    next >
Text File  |  2003-02-13  |  1KB  |  26 lines

  1. // Example MediaGraph file for using the Elecard Audio/Video decoders
  2. // along with the VMR9 Video Renderer (requires DirectX-9 to be installed)
  3. // for playback of MPEG2 files.
  4.  
  5. # Load all filters
  6. LoadFilter({E436EBB5-524F-11CE-9F53-0020AF0BA770},Source File)
  7. LoadFilter({731B8592-4001-46D4-B1A5-33EC792B4501},Elecard MPEG2 Demultiplexer)
  8. LoadFilter({F50B3F13-19C4-11CF-AA9A-02608C9BABA2},Elecard MPEG2 Video Decoder)
  9. LoadFilter({E32C3B01-C81B-4D01-8AD4-2B93F7FA544C},Moonlight Odio Dekoda)
  10. LoadFilter({79376820-07D0-11CF-A24D-0020AFD79767},Default DirectSound Device)
  11. LoadFilter({51B4ABF3-748F-4E3B-A276-C828330E926A},Video Mixing Renderer 9)
  12.  
  13. # Assign the File Name into the File Source Filter
  14. SetFilterFileName(Source File,<FileName>)
  15.  
  16. # Source File to A/V Demultiplexer
  17. ConnectPin(Source File,Output,Elecard MPEG2 Demultiplexer,Input)
  18.  
  19. # Video Data to Video Decoder to Video Renderer
  20. ConnectPin(Elecard MPEG2 Demultiplexer,Video 0,Elecard MPEG2 Video Decoder,In)
  21. ConnectPin(Elecard MPEG2 Video Decoder,Out,Video Mixing Renderer 9,VMR Input0)
  22.  
  23. # Audio Data to Audio Decoder to Audio Renderer
  24. ConnectPin(Elecard MPEG2 Demultiplexer,Audio 0,Moonlight Odio Dekoda,In)
  25. ConnectPin(Moonlight Odio Dekoda,Out,Default DirectSound Device,Audio Input pin (rendered))
  26.